

import request from '@/utils/request'

// 新品毛利率和销售额
export function getDataboardExpense(data) {
  return request({
    url: '/v1/goods/databoard/expense',
    method: 'POST',
    data
  })
}

// 二次备货率
export function getPrepareStockPercent(data) {
  return request({
    url: '/v1/goods/databoard/prepare-stock-percent',
    method: 'POST',
    data
  })
}

// 推品通过率
export function getDevelopPercent(data) {
  return request({
    url: '/v1/goods/databoard/develop-percent',
    method: 'POST',
    data
  })
}

// 目标完成情况
export function getTargetBoard(data) {
  return request({
    url: '/v1/goods/goods-target-config/target-board',
    method: 'POST',
    data
  })
}